package com.tqjc.business.interactivewithscan.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tqjc.business.interactivewithscan.entity.UfcDeviceInfo;
import com.tqjc.business.interactivewithscan.mapper.UfcDeviceInfoMapper;
import com.tqjc.business.interactivewithscan.service.UfcDeviceInfoService;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 
 * @since 2021-12-21
 */
@Service
public class UfcDeviceInfoServiceImpl extends ServiceImpl<UfcDeviceInfoMapper, UfcDeviceInfo> implements UfcDeviceInfoService {

    @Override
    public UfcDeviceInfo queryByCode(String deviceCode) {
        UfcDeviceInfo deviceInfo = baseMapper.queryByCode(deviceCode);
        return deviceInfo;
    }

    @Override
    public UfcDeviceInfo queryByTankerTaskOid(Long tankerTaskOid) {
        UfcDeviceInfo deviceInfo = baseMapper.queryByTankerTaskOid(tankerTaskOid);
        return deviceInfo;
    }
}
